
<!-- style="background-color: rgb(128, 230, 128);" -->
{extend name="base" /}

{block name="main"}
<div class="container" style="margin-top: 30vh;height: 650px;">
    
    <div class="card" style="width: 30%;margin-left: 35%;">
        <div class="card-header">登录</div>
        <div class="card-body" >
            <form action="{:url('login/login')}" enctype="multipart/form-data"  method="POST">
                <div class="form-group">
                  <label for="phone">手机号:</label>
                  <input type="number" class="form-control" id="phone" name="user_phone" required>
                </div>
                <div class="form-group">
                  <label for="pwd">密码:</label>
                  <input type="password" class="form-control" id="pwd" name="user_pw" required>
                </div>
               <button type="submit" class="btn btn-primary" style="width: 100%;">登录</button>
              </form>
        </div> 
      </div>
    </div>
{/block}